﻿using System;
using System.Collections.Generic;
using System.Text;
using GalaSoft.MvvmLight.Ioc;
using TEST1.Views;

namespace TEST1.ViewModels
{
   public class ViewModelLocator {
       
       public ItemDetailViewModel ItemDetailViewModel =>
           SimpleIoc.Default.GetInstance<ItemDetailViewModel>();

       public ItemsViewModel ItemsViewModel =>
           SimpleIoc.Default.GetInstance<ItemsViewModel>();

        public ViewModelLocator() {
            SimpleIoc.Default.Register<ItemsViewModel>();
            SimpleIoc.Default.Register<ItemDetailViewModel>();

        }



    }
}
